/**
 * Email.java
 */
package com.vcsoft.emailresponder.bean;

import java.util.List;

/**
 * 
 * @author bhosalevishal@gmail.com
 * @version 03-Sept-2012
 */
public class Email {
	
	/** 
	 * sender email address
	 */
	private String from;
	
	/**
	 * receivers email addresses
	 */
	private List<String> to;
	
	/**
	 * email body in text format
	 */
	private String textBody;
	
	/**
	 * email body in html format
	 */
	private String htmlBody;
	
	/**
	 * public constructor
	 */
	public Email(){
		
	}

	/**
	 * @return the from
	 */
	public String getFrom() {
		return from;
	}

	/**
	 * @return the to
	 */
	public List<String> getTo() {
		return to;
	}

	/**
	 * @return the textBody
	 */
	public String getTextBody() {
		return textBody;
	}

	/**
	 * @return the htmlBody
	 */
	public String getHtmlBody() {
		return htmlBody;
	}

	/**
	 * @param from the from to set
	 */
	public void setFrom(String from) {
		this.from = from;
	}

	/**
	 * @param to the to to set
	 */
	public void setTo(List<String> to) {
		this.to = to;
	}

	/**
	 * @param textBody the textBody to set
	 */
	public void setTextBody(String textBody) {
		this.textBody = textBody;
	}

	/**
	 * @param htmlBody the htmlBody to set
	 */
	public void setHtmlBody(String htmlBody) {
		this.htmlBody = htmlBody;
	}
}
